home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Installer SDK 1.2 / Upgrader 1.2.1 & Engines / Upgrader 1.2.1 / Plug-in Examples / SAM Virus Checker Plug-in / Editor Sources / CSAMLauncherEditorWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-25  |  628 b   |  35 lines  |  [TEXT/CWIE]

  1. #pragma once
  2.  
  3. #include <UModalDialogs.h>
  4.  
  5. enum
  6. {
  7.     kHelpTextInFile         = 0x8000
  8. };
  9.  
  10.  
  11. class    CEditorWindow :     public StDialogHandler
  12. {
  13.  
  14. public:
  15.     enum { class_ID = 'saEd' };
  16.     
  17.     SInt16                        mFileRefNum;
  18.     SInt16                        mPreferenceRsrcID;
  19.     SInt16                        mResListRsrcID;
  20.     UInt16                        mFlags;
  21.     SInt16                        mStringListRsrcID;
  22.     SInt16                        mMainTextRsrcID;
  23.     SInt16                        mHelpTextRsrcID;
  24.     SInt16                        mAppFileRefRsrcID;
  25.  
  26.                                 CEditorWindow( SInt16 inFileRefNum, SInt16 inPreferenceRsrcID, SInt16 inResListRsrcID );
  27.     virtual                        ~CEditorWindow();
  28.     
  29.     SInt32                        DoEdit();
  30.     
  31.     void                        SaveWindowToFile();
  32.     void                        LoadWindowFromFile();
  33.     
  34. };
  35.